<?php
$this->load->helper('form');
echo form_open('user/login');
?>

<div class='center_text top'>
	[Login Details]<br>
	Username: a<br>
	Password: a
</div>

<table class='center top general_table'>
	<tr>
		<td>Username:</td>
		<td>
			<?php echo form_error('username'); ?>
			<?php echo form_input('username', $this->input->post('username')); ?>
		</td>
	</tr>
	<tr>
		<td>Password:</td>
		<td>
			<?php echo form_error('password'); ?>
			<?php echo form_password('password', $this->input->post('password')); ?>
		</td>
	</tr>
	<tr>
		<td colspan=2>
			<?php if($valid_login === false) echo '<div class="form_error">The username and password were not found.</div>'; ?>
			<?php echo form_submit('login_submit', 'Login'); ?>
		</td>
	</tr>
	
</table>

<?php
echo form_close();